<%@ taglib prefix="s" uri="/struts-tags" %>
<%--
  Created by IntelliJ IDEA.
  User: root
  Date: 14-10-29
  Time: 下午1:19
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<header>
    <div class="inner">
        <s:if test="%{#session.user!=null}">
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:silver">欢迎&nbsp;<s:property value="%{#session.user.loginName}"></s:property>&nbsp;登陆本站</span>&nbsp;&nbsp;&nbsp;&nbsp;<a href="${pageContext.request.contextPath}/jsp/home/personal.jsp" style="text-decoration: underline">进入个人中心</a>
            <a id="Leave" href="/user_loginOut.do">[注销]</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        </s:if>
        <s:if test="%{#session.user==null}">
        <div class="floatRight">
            <a id="login" href="${pageContext.request.contextPath}/jsp/home/Login.jsp">[登陆]</a>&nbsp;&nbsp;&nbsp;
            <a id="Register" href="${pageContext.request.contextPath}/jsp/home/Register.jsp">[注册]</a>&nbsp;&nbsp;&nbsp;
        </s:if>
        </div>
    </div>
</header>
<%--<div class="lightbox" id="LoginBox">--%>
    <%--<div style="position: relative;top:35%;left:50%">--%>
        <%--<form action="#" method="post" style="position: absolute;width:220px;height:200px;margin:-100px 0 0 -110px">--%>
            <%--<div style="text-align: center"><img src="${pageContext.request.contextPath}/images/logoo.png"/></div>--%>
            <%--<input class="textbox" type="text" name="username" placeholder="输入用户名"/><br/>--%>
            <%--<input class="textbox" type="password" name="password" placeholder="输入密码"/><br/>--%>
            <%--<input class="textbox" style="width:70px" type="text" name="code" placeholder="输入验证码"/><br/>--%>
            <%--<input type="checkbox" name="autoLogin"/>&nbsp;&nbsp;<span class="blacksliver">记住密码，下次自动登录</span><br/>--%>
            <%--<div style="text-align: center">--%>
                <%--<input type="submit" value="登陆" class="button" style="width:80px;height: 30px"/>&nbsp;&nbsp;&nbsp;&nbsp;--%>
                <%--<input type="button" value="关闭" class="button" id="loginCancel" style="width:80px;height: 30px"/>--%>
            <%--</div>--%>
        <%--</form>--%>
    <%--</div>--%>
<%--</div>--%>
<%--<div class="lightbox" id="RegisterBox">--%>
    <%--<div style="position: relative;top:30%;left:50%">--%>
        <%--<form action="#" method="post" style="position: absolute;width:320px;height:200px;margin:-100px 0 0 -160px">--%>
            <%--<div style="text-align: center"><img src="${pageContext.request.contextPath}/images/logoo.png"/></div>--%>
            <%--<label for="name">&nbsp;&nbsp;用户名：</label><input class="textbox" type="text" name="username" id="name" placeholder="输入用户名"/><br/>--%>
            <%--<label for="password">&nbsp;&nbsp;密&nbsp;&nbsp;&nbsp;&nbsp;码：</label><input class="textbox" type="password" name="password" id="password" placeholder="输入密码"/><br/>--%>
            <%--<label for="repassword">确认密码：</label><input class="textbox" type="password" name="password" id="repassword" placeholder="确认密码"/><br/>--%>
            <%--<label>&nbsp;&nbsp;性&nbsp;&nbsp;&nbsp;&nbsp;别：</label><input type="radio" name="gender"  value="girl"/>&nbsp;女&nbsp;&nbsp;<input type="radio" name="gender" value="boy"/>&nbsp;男<br/>--%>
            <%--<label for="email">&nbsp;&nbsp;邮&nbsp;&nbsp;&nbsp;&nbsp;箱：</label><input class="textbox" type="text" name="email" id="email" placeholder="输入认证邮箱"/><br/>--%>
            <%--&lt;%&ndash;<label>验&nbsp;证&nbsp;码：</label><input class="textbox" style="width:70px" type="text" name="code" placeholder="输入验证码"/><br/>&ndash;%&gt;--%>
            <%--<div style="text-align: center;margin-top: 15px;">--%>
                <%--<input type="submit" value="注册" class="button" style="width:80px;height: 30px"/>&nbsp;&nbsp;&nbsp;&nbsp;--%>
                <%--<input type="button" value="关闭" class="button" id="RegisterCancel" style="width:80px;height: 30px"/>--%>
            <%--</div>--%>
        <%--</form>--%>
    <%--</div>--%>
<%--</div>--%>
<nav style="margin-bottom: 25px;">
    <div class="inner">
        <div class="floatLeft" style="margin-bottom: 0">
            <a href="/index_index.do" class="floatLeft"><img style="height: 70px;padding: 5px 0" src="${pageContext.request.contextPath}/images/logoo.png"></a>
            <div class="floatLeft"><h2 style="color: white;padding: 25px 5px">高校影院</h2></div>&nbsp;&nbsp;&nbsp;&nbsp;

        </div>
        <div class="floatRight" style="position: relative;margin-bottom: 0">
            <img style="width:200px;margin: 30px 0 0 40px" src="${pageContext.request.contextPath}/images/search3.gif"/>
            <input type="text" name="search" style="border:none;position: absolute;top:30px;left:40px;width:172px;height: 20px;" value="搜索电影、影院" onfocus="if(this.value=='搜索电影、影院') {this.value='';}" onblur="if(this.value=='') {this.value='搜索电影、影院';}"/>
            <button style="position: absolute;top:30px;right: 0;width:20px;height: 21px;cursor: pointer;opacity: 0"></button>
        </div>
        <div class="floatRight nav" style="margin-bottom: 0">
            <ul class="clearfix" >
                <li><a href="/index_index.do">首&nbsp;页</a></li>
                <li><a href="/index_theater.do">影&nbsp;院</a></li>
                <li><a href="/index_phantoScope.do">万&nbsp;花&nbsp;筒</a></li>
                <li><a href="${pageContext.request.contextPath}/jsp/Community/CommunityHome.jsp">社&nbsp;区</a></li>

            </ul>
        </div>
    </div>
</nav>
